package com.tourism.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tourism.core.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 收藏实体类
 *
 * @author lucky
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Favorite extends BaseEntity {
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 景点id
     */
    private Long attractionId;

    @TableField(exist = false)
    private String attractionName;

    @TableField(exist = false)
    private String attractionAddress;

    @TableField(exist = false)
    private String attractionImageUrl;
}